//
//  PhotosNVController.m
//  AndonImagePicker
//
//  Created by 董文博 on 15/1/7.
//  Copyright (c) 2015年 OA. All rights reserved.
//

#import "AndonImagePickerController.h"
#import "AndonGroupTVController.h"

@interface AndonImagePickerController ()
@property (strong,nonatomic) AndonGroupTVController  *agtvc;
@end

@implementation AndonImagePickerController

-(void)setMaxSelectNum:(NSInteger)maxSelectNum
{
    self.agtvc.maxSelectNum = maxSelectNum;
}


-(instancetype)init{
    self = [super init];
    if (self) {
        AndonGroupTVController *agtvc = [[AndonGroupTVController alloc] init];
        self.agtvc = agtvc;
        self = [self initWithRootViewController:agtvc];
    }
    return self;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
